<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 18-4-8
 * Time: 上午9:58
 */

namespace backend\modules\android_app_versions\models;


use yii\base\Model;
use yii\web\UploadedFile;

class AndroidAppUploadForm extends Model
{
    /**
     * @var UploadedFile $apk
     */
    public $apk;

    public function rules()
    {
        return [
            [['apk'], 'file', 'skipOnEmpty' => false, 'extensions' => 'apk'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'apk' => "apk文件",
        ];
    }
}